package com.gec.system.mapper;

import com.gec.model.pojo.TAlbum;
import com.gec.model.pojo.TAlbumExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TAlbumMapper {
    long countByExample(TAlbumExample example);

    int deleteByExample(TAlbumExample example);

    int deleteByPrimaryKey(String id);

    int insert(TAlbum record);

    int insertSelective(TAlbum record);

    List<TAlbum> selectByExample(TAlbumExample example);

    TAlbum selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TAlbum record, @Param("example") TAlbumExample example);

    int updateByExample(@Param("record") TAlbum record, @Param("example") TAlbumExample example);

    int updateByPrimaryKeySelective(TAlbum record);

    int updateByPrimaryKey(TAlbum record);
}